// 拦截请求
import Mock from "mockjs";
import homeApi from './home'
import userApi from './user'

Mock.mock(/home\/getData/, homeApi.getStatisticalData)
Mock.mock(/user\/getUserList/, userApi.getUserList)
Mock.mock(/user\/addUser/, 'post', userApi.addUser)
Mock.mock(/user\/editUser/, 'post', userApi.editUser)
Mock.mock(/user\/deleteUser/, 'post', userApi.deleteUser)

